const mongoose = require("mongoose");
const cardSchema = new mongoose.Schema({
    cover: String,
    title: String,
    desc: String,
});
const card = mongoose.model("card", cardSchema);


const recordSchema = new mongoose.Schema({
    time: Number,
    cardId: String,
    cardName: String,
});
const record = mongoose.model("record", recordSchema);
module.exports = {
    card,
    record
};
